<template>
	<view>
		<view class="my-swiper" style="margin: 0; padding: 0;">
			<image mode="widthFix"  style="margin: 0; padding: 0; width: 100%;" :src="goods.imgUrl[0]"></image>
		</view>
		<view>
			<view class="tit-tip multi-line-omit" >商品名称：{{ goods.name }}</view><!--名称-->
			<view class="tit-tip multi-line-omit" >描述：{{ goods.desc }}</view><!--描述-->
			<view class="tit-tip multi-line-omit" >价格{{ goods.price }}元</view><!--价格-->
			<view class="tit-tip multi-line-omit" >库存{{100 }}元</view><!--价格-->
		</view>
		<view>
			<uni-goods-nav style="margin-top: 100;"></uni-goods-nav>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				goods:""
			}
		},
		methods: {
			
		},
		onLoad() {
			const eventChannel=this.getOpenerEventChannel();
			eventChannel.on("navToAdvertise", (res) => {
					this.goods=res
			});
		},
	}
</script>

<style>

</style>
